package com.isoft.data.dao;

import com.isoft.data.xml.Ckie;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CkieDao {
    @Insert("insert into CKIE(SEQN,DDTM,FLID,FFID,FIDE,FATT,STAT,ISTA,FCRS,MSTA,MIST,MCRS) " +
            "VALUES(#{ckie.meta.seqn},#{ckie.meta.ddtm},#{ckie.dflt.flid},#{ckie.dflt.ffid},#{ckie.dflt.fide}" +
            ",#{ckie.dflt.fatt},#{ckie.dflt.stat},#{ckie.dflt.ista},#{ckie.dflt.fcrs}" +
            ",#{ckie.dflt.msta},#{ckie.dflt.mist},#{ckie.dflt.mcrs})")
    void addCkie(@Param("ckie") Ckie ckie);
}
